<?php
/**
 * CreateTime: 2023/7/4 14:49
 */

namespace App\Http\Requests\MeClient;

use App\Http\Requests\BaseRequests;

class SetMeClientLatterRequest  extends BaseRequests
{

    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'client_temp_mediation_file_id' => "required",
            'client_temp_mediation_agreement_file_id' => "required",
            'client_temp_law_file_id' =>"required",
        ];
    }

    public function messages()
    {
        return [
            'client_temp_mediation_file_id.required' => "调解函不能为空",
            'client_temp_mediation_agreement_file_id.required' => "调解协议不能为空",
            'client_temp_law_file_id.required' => "律师函不能为空"
        ];
    }

}